package com.solarroast.mirrorarray.components;

import java.util.ArrayList;

import com.solarroast.mirrorarray.beans.MAIBean;

public class MirrorArraySelection {
	String name;
	ArrayList<MAIBean> selection;
	
	public MirrorArraySelection() {
		
	}
	
	public MirrorArraySelection(String name, ArrayList<MAIBean> selection) {
		this.name = name;
		this.selection = selection;
	}
	
	public void setSelection(ArrayList<MAIBean> selection) {
		this.selection = selection;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public void printValues() {
		for(int i = 0; i < selection.size(); i++) {
			System.out.println(selection.get(i).getName());
		}
	}
	
	public ArrayList<MAIBean> getSelection() {
		return selection;
	}
}
